package cn.mw.feign;

import cn.mw.domain.Floor;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;


@Component
@FeignClient("service-floor")
public interface FloorFeign {
    @GetMapping("/build/getfloor/{bulidId}")
    public List<Floor> getfloor(@PathVariable("bulidId") String bulidId);

}
